package com.dk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.pojo.TBCars;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;

import java.lang.annotation.Retention;
import java.util.List;

@Repository
public interface TbCarsMapper extends BaseMapper<TBCars> {

    @Select("select * from tb_cars")
    List<TBCars> selectAll();
}
